package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.domain.Group;
import cn.wolfcode.crm.mapper.GroupMapper;
import cn.wolfcode.crm.service.IGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GroupServiceImpl implements IGroupService {
    @Autowired
    private GroupMapper groupMapper;


    @Override
    public List<Group> listAll() {
        return groupMapper.selectAll();
    }
}
